package com.groupfour.attendancemanagementsystem.dao;

import com.groupfour.attendancemanagementsystem.entity.DTO.AttendanceRecordDTO;
import com.groupfour.attendancemanagementsystem.entity.VO.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AttendanceRecordDao {
    //按字段查询
    List<AttendanceRecordVO> selectAttendanceRecord(AttendanceRecordDTO attendanceDTO);
    //查询院系
    List<RDepartmentVO> selectDepartmentName();
    //查询专业
    List<RMajorVO> selectMajorName();
    //查询班级
    List<String> selectClassesName(@Param("gradeName")String gradeName);
    //查询小组名
    List<AttendanceRecordVO> selectGroupName();
    //查询课程
    List<CourseVO> selectCourseName();
    //查询教师名称
    List<CourseVO> selectTeacherName();
}
